package com.cx.core.base;

import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

@WebService
@SOAPBinding(style = Style.RPC)
@SuppressWarnings("deprecation")
public class Test {

	public String sayHello(@WebParam(name = "name") String name) {
		return "你好" + name;
	}

	public int add(@WebParam(name = "money") int money) {
		return 2000 + money;
	}

	public static void main(String[] args) {

	}
}
